﻿
namespace TrackSystem.Entities.RequestFeatures
{
    public class PagedList<T> : List<T> 
    {
        public PagedMetaData MetaData { get; set; }

        public PagedList(IEnumerable<T> items, int count, int pageNumber, int pageSize) 
        {
            MetaData = new PagedMetaData(count, pageSize, pageNumber);
            this.AddRange(items);
        }
    }
}
